﻿@using YaHall.Server;
@{
    string cat_url = "http://shop.yahall.com/category.php?id=";
    var menu = Facade.GetGoodsCategory(0);
 }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>@Page.Title</title>
<script src="Js/nav-menu.js" type="text/javascript"></script>
@RenderSection("head", required: false)
</head>

<body>
<!--头部内容开始-->
<div class="header cl over">
	<div class="welcome fl">雅客您好，欢迎光临雅好网！　<span><a href="javascript:void(0);">登陆微博</a></span> <span><a href="javascript:void(0);">手机雅好网</a></span></div>
    <div class="cart fl">
    	<div class="cart-item">购物车 <span>0</span> 件</div>
    </div>
    <div class="quick-menu fr">
    	<ul>
        	<li><a href="javascript:void(0);">我的账户</a></li>
            <li><a href="javascript:void(0);">我的订单</a></li>
            <li><a href="javascript:void(0);">我的积分</a></li>
            <li><a href="javascript:void(0);" onClick="window.external.addFavorite('http://www.yahall.com','雅好网')" title="雅好艺术网">收藏本站</a></li>
        </ul>
    </div>
</div>
<!--头部内容结束 logo tel-->
<div class="logo-layout mar cl over">
	<div class="logo fl"><a href="" class=""></a></div>
    <div class="tel-menu fr">
    	<div class="tel-menu-item cl">
        	<div class="tel-item"><span>021-62806365 - 614</span><b></b></div>
            <div class="menu-item">
            	<ul>
                	<li><a href="javascript:void(0)">投诉建议</a></li>
                    <li><a href="javascript:void(0)">在线客服</a></li>
                    <li><a href="javascript:void(0)">合作专区</a></li>
                    <li><a href="javascript:void(0)">会员独享</a></li>
                    <li><a href="javascript:void(0)">帮助中心</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
<!-- logo tel end 导航开始-->
<div class="nav">
	<div class="navmain mar cl over">
    	<div class="nav-item fl">
        	<div class="menu">
            	<ul>
                	<li class="at"><a href="#">首页</a></li>
                    <li class="mline"></li>
                    <li><a href="#">商城</a></li>
                    <li class="mline"></li>
                    <li><a href="#">在线拍卖</a></li>
                    <li class="mline"></li>
                    <li><a href="#">艺术家</a></li>
                    <li class="mline"></li>
                    <li><a href="#">线下活动</a></li>
                </ul>
            </div>
        </div>
        <div class="nav-search fr over">
        	<div class="action fr">
            	<a href="#">登陆</a>
            	<span>|</span>
                <a href="#">注册</a>
            </div>
            <div class="search fr over">
            	<div class="seaitem cl over">
                	<div class="fl"><input name="" type="text" class="sea-input" /></div>
                	<div class="fl"><input name="" type="submit" class="sea-but" value="搜索" /></div>
                </div>
            </div>
        </div>
    </div>
    <div class="nav-menu over mar">
    	<!--小导航开结-->
        <div id="nav-menu-item">
        	<div id="tmenu">
                <ul>
                @for (int i = 1; i < menu.Count + 1; i++)
                {
                    <li class="fmenu"><span onMouseOver="topmenu.showmenu('menu@(i)');" onmouseout="topmenu.hideMenu('menu@(i)')"><a href="@(cat_url + menu[i - 1].cat_id)">@menu[i - 1].cat_name</a></span>
                        <div id="menu@(i)Container">
                            <div class="menu" id="menu@(i)Content">
                                <!--内容开始-->
                                <div class="menu_item">
                                	<div class="menu_item-f fl">
                                    	<div class="menu-sortitem">
                                        	<ul>
                                            @{var childrenCat = Facade.GetGoodsCategory(menu[i - 1].cat_id);
                                              foreach (var item in childrenCat)
                                              {
                                                <li><a href="@(cat_url + item.cat_id)">@item.cat_name</a></li> 
                                              }
                                             }
                                        	</ul>
                                    	</div>
                                    </div>
                                    <div class="menu_item-r fr">
                                    	<div class="hot_Re-tit">热点推荐</div>
                                        <div class="hot_Re-pic"><img src="pic/tj01.gif" /></div>
                                    </div>
                                </div>
                                <!--内容结束-->
                            </div>
                        </div>
                    </li>   
                }
                </ul>
            </div>
        </div>
        <!--小导航结束-->
    </div>
</div>
<!--导航结束 Banner开始-->
@RenderBody()
<!--底部开始-->
<div class="footer">
	<div class="footertag tc">雅好网始终倾力打造网上诚信</div>
    <div class="footeritem over">
    	<div class="foot-item cl over">
        	<div class="foot-item-txt fr">
            	<div class="text tc"><a href="javascript:void(0)">关于我们</a> | <a href="javascript:void(0)">支付方式</a> | <a href="javascript:void(0)">法律顾问</a> | 登陆  www.yahall.com  版权所有<br />沪ICP备11029174号  服务热线：021-62806365-614 | E-mail:yahall@live.cn | 传真：021-62809930</div>
            </div>
        </div>
    </div>
</div>
<!--底部结束-->
</body>
</html>
